using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using buildingLib.daily;

namespace _dmis
{
    public partial class EditDocLog : Form
    {
        DocLog m_doclog;
        public DocLog DocLog
        {
            get { return m_doclog; }
        }

        public EditDocLog(DocLog doclog)
        {
            InitializeComponent();
            m_doclog = doclog;
            docLogsBindingSource.DataSource = m_doclog;
        }

        private void btn_OK_Click(object sender, EventArgs e)
        {
            if (m_doclog.IsValid)
                this.DialogResult = DialogResult.OK;
        }
    }
}